<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>设备申请</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">

    <meta http-equiv="Pragma"    content="no-cache"/>
     
    <meta http-equiv="Cache-Control"    content="no-cache"/>
     
    <meta http-equiv="Expires"    content="0"/>

    <link rel="stylesheet" href="/layui/css/layui.css" media="all"/>
    <link rel="stylesheet" href="/layui/style/admin.css" media="all"/>
</head>
<body class="childrenBody">
<blockquote class="layui-elem-quote news_search">
    <div class="layui-inline">

        <div class="layui-input-inline">
            <input type="text" name="createdTime" class="layui-input search_input" placeholder="请选择时间"
                   id="created_time">
        </div>

        <a class="layui-btn search_btn " id="apply_search_btn">查询</a>
    </div>

</blockquote>
<table class="layui-hide" id="apply_table" lay-filter="apply_table"></table>

<div id="add_apply_win" style="display: none;">
    <form id="add_apply_form" class="layui-form" action="" lay-filter="add_apply_form">
        <input type="hidden" name="id" id="id"/>

        <div class="layui-form-item">
            <label class="layui-form-label">备注</label>
            <div class="layui-input-block">
                <textarea name="remarks" id="remarks" placeholder="请输入内容" class="layui-textarea"></textarea>
            </div>
        </div>

        <div class="layui-form-item">
            <div class="layui-input-block">
                <button class="layui-btn" lay-submit lay-filter="addApplyOk">立即提交</button>
                <button type="reset" class="layui-btn layui-btn-primary">重置</button>
            </div>
        </div>
    </form>
</div>

<div id="apply_win" style="display: none;">
    <form id="apply_form" class="layui-form" action="" lay-filter="apply_form">
        <input type="hidden" name="applyId" id="applyId"/>
        <input type="hidden" name="userId" id="userId"/>
    </form>
    <div id="transfer" class="demo-transfer"></div>
    <div class="layui-input-block" style="margin-left: 520px">
        <button type="button" class="layui-btn" lay-demotransferactive="getData" id="deposit">暂存数据</button>
        <button type="button" class="layui-btn" lay-demotransferactive="getData" id="addOk">确认划拨</button>
    </div>
</div>

<div id="apply" style="display: none;">
	<table class="layui-hide" id="applys_table" lay-filter="applys_table"></table>
</div>
<script type="text/javascript" src="/js/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="/js/common.js"></script>
<script type="text/javascript" src="/layui/layui.js"></script>
<script src="/js/device/oemDeviceApplyInfoList.js"></script>

<script type="text/html" id="OptData">

    {{#  if(d.state == 0){ }}
    <a class="layui-btn layui-btn-xs" lay-event="part">划拨</a>
    <a class="layui-btn layui-btn-xs" lay-event="reject">驳回</a>
    {{#  } }}

    {{#  if(d.state == 1){ }}
    <a class="layui-btn layui-btn-xs" lay-event="details">详情</a>
    {{#  } }}

</script>

</body>
</html>